package cn.hqhy.dish.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("like_dishes")
public class Dish implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;//id

    private String dish_name;//菜品名称

    private String dish_cuisine;//菜系

    private BigDecimal dish_price;//价格

    private String dish_taste;//口味

    private String dish_category;//荤素类别

    private Integer dish_rating;//推荐指数

    private String dish_img;//图片

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmt_create;//创建时间

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmt_modified;//最后修改时间


}
